<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
	<head>
		<title>Search Results</title>
	</head>
	<body>
		
			<h2>
				${requestsCount} Requests. 
			</h2>
			
			<table class="widefat">
				<thead>
					<tr>
						<td width="50%">
							
						</td>
						<td width="500%">
							
						</td>
		
					</tr>
				</thead>

				<tbody>

					<s:iterator value="reqs">
						<tr>
							<td>
								<a href="${BASEURL }/user.jspa?username=${requestUser.username}">${requestUser.username}</a> Request you be friend.
								<br>
								${message}
							</td>
							<td>
								<a href="${BASEURL}/approve_request.jspa?requestId=${id }">approve</a> 
								<a href="${BASEURL}/ignore_request.jspa?requestId=${id }">ignore</a>
							</td>

						</tr>
					</s:iterator>
				</tbody>
			</table>

		
	</body>